package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Department;
import cn.wolfcode.car.business.qo.DepartmentQueryObject;

import java.util.List;

public interface DepartmentMapper {

    int delete(Long id);

    int insert(Department department);

    Department selectOne(Long id);

    List<Department> selectAll();

    int update(Department department);

    List<Department> selectForList(DepartmentQueryObject qo);
}